package com.访问者模式.案列1;

/**
 * 通过的评价
 */
public class SuccessAction extends Action {
    @Override
    public void getManResult(Man man) {
        System.out.println("男人给的评价是通过");
    }

    @Override
    public void getWomanResult(Woman woman) {
        System.out.println("女人给的评价是通过");
    }
}
